﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="TIMSDataSet" targetNamespace="http://tempuri.org/TIMSDataSet.xsd" xmlns:mstns="http://tempuri.org/TIMSDataSet.xsd" xmlns="http://tempuri.org/TIMSDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="2" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TIMSConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TIMSConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.TIMSConnectionString1" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="DBTimsConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBTimsConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.DBTimsConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="DBTims02ConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBTims02ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.APPLICATION.Properties.Settings.GlobalReference.Default.DBTims02ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dtDepTableAdapter" GeneratorDataComponentClassName="dtDepTableAdapter" Name="dtDep" UserDataComponentName="dtDepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.dtDep" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dtDep] WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dtDep] ([hName], [mgrid], [hrclvl], [hrccrt]) VALUES (@hName, @mgrid, @hrclvl, @hrccrt);
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtDep WHERE (CodeID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dbo.dtDep</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dtDep] SET [hName] = @hName, [mgrid] = @mgrid, [hrclvl] = @hrclvl, [hrccrt] = @hrccrt WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)));
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtDep WHERE (CodeID = @CodeID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CodeID" ColumnName="CodeID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CodeID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.dtDep" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dbo.dtDep where  hrclvl = 2 </CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dtCityTableAdapter" GeneratorDataComponentClassName="dtCityTableAdapter" Name="dtCity" UserDataComponentName="dtCityTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.dtCity" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dtCity] WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dtCity] ([hName], [mgrid], [hrclvl], [hrccrt]) VALUES (@hName, @mgrid, @hrclvl, @hrccrt);
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtCity WHERE (CodeID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dbo.dtCity</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dtCity] SET [hName] = @hName, [mgrid] = @mgrid, [hrclvl] = @hrclvl, [hrccrt] = @hrccrt WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)));
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtCity WHERE (CodeID = @CodeID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CodeID" ColumnName="CodeID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CodeID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.dtCity" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dbo.dtCity where  hrclvl  = 2</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dtPostTableAdapter" GeneratorDataComponentClassName="dtPostTableAdapter" Name="dtPost" UserDataComponentName="dtPostTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.dtPost" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dtPost] WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dtPost] ([hName], [mgrid], [hrclvl], [hrccrt]) VALUES (@hName, @mgrid, @hrclvl, @hrccrt);
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtPost WHERE (CodeID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dbo.dtPost</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dtPost] SET [hName] = @hName, [mgrid] = @mgrid, [hrclvl] = @hrclvl, [hrccrt] = @hrccrt WHERE (([CodeID] = @Original_CodeID) AND ((@IsNull_hName = 1 AND [hName] IS NULL) OR ([hName] = @Original_hName)) AND ((@IsNull_mgrid = 1 AND [mgrid] IS NULL) OR ([mgrid] = @Original_mgrid)) AND ((@IsNull_hrclvl = 1 AND [hrclvl] IS NULL) OR ([hrclvl] = @Original_hrclvl)) AND ((@IsNull_hrccrt = 1 AND [hrccrt] IS NULL) OR ([hrccrt] = @Original_hrccrt)));
SELECT CodeID, hName, mgrid, hrclvl, hrccrt FROM dtPost WHERE (CodeID = @CodeID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CodeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_mgrid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mgrid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrclvl" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_hrclvl" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="hrclvl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hrccrt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_hrccrt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="hrccrt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CodeID" ColumnName="CodeID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CodeID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CodeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CodeID" DataSetColumn="CodeID" />
              <Mapping SourceColumn="hName" DataSetColumn="hName" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dtStaffTableAdapter" GeneratorDataComponentClassName="dtStaffTableAdapter" Name="dtStaff" UserDataComponentName="dtStaffTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.dtStaff" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[dtStaff] WHERE (([StaffID] = @Original_StaffID) AND ([DepID] = @Original_DepID) AND ([PostID] = @Original_PostID) AND ([CityID] = @Original_CityID) AND ((@IsNull_StaffName = 1 AND [StaffName] IS NULL) OR ([StaffName] = @Original_StaffName)) AND ((@IsNull_addr = 1 AND [addr] IS NULL) OR ([addr] = @Original_addr)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_DBorn = 1 AND [DBorn] IS NULL) OR ([DBorn] = @Original_DBorn)) AND ((@IsNull_DWork = 1 AND [DWork] IS NULL) OR ([DWork] = @Original_DWork)) AND ((@IsNull_PerNum = 1 AND [PerNum] IS NULL) OR ([PerNum] = @Original_PerNum)) AND ((@IsNull_TabNum = 1 AND [TabNum] IS NULL) OR ([TabNum] = @Original_TabNum)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StaffID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DepID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PostID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StaffName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_StaffName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="StaffName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_addr" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="addr" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_addr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="addr" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DBorn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DBorn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DBorn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DBorn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DWork" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DWork" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DWork" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DWork" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PerNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PerNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PerNum" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PerNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TabNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TabNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TabNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TabNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dtStaff] ([DepID], [PostID], [CityID], [StaffName], [addr], [Gender], [DBorn], [DWork], [PerNum], [TabNum]) VALUES (@DepID, @PostID, @CityID, @StaffName, @addr, @Gender, @DBorn, @DWork, @PerNum, @TabNum);
SELECT StaffID, DepID, PostID, CityID, StaffName, addr, Gender, DBorn, DWork, PerNum, TabNum FROM dtStaff WHERE (StaffID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PostID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@StaffName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="StaffName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@addr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="addr" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DBorn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DBorn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DWork" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DWork" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PerNum" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PerNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TabNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TabNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT StaffID, DepID, PostID, CityID, StaffName, addr, Gender, DBorn, DWork, PerNum, TabNum FROM dbo.dtStaff</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[dtStaff] SET [DepID] = @DepID, [PostID] = @PostID, [CityID] = @CityID, [StaffName] = @StaffName, [addr] = @addr, [Gender] = @Gender, [DBorn] = @DBorn, [DWork] = @DWork, [PerNum] = @PerNum, [TabNum] = @TabNum WHERE (([StaffID] = @Original_StaffID) AND ([DepID] = @Original_DepID) AND ([PostID] = @Original_PostID) AND ([CityID] = @Original_CityID) AND ((@IsNull_StaffName = 1 AND [StaffName] IS NULL) OR ([StaffName] = @Original_StaffName)) AND ((@IsNull_addr = 1 AND [addr] IS NULL) OR ([addr] = @Original_addr)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_DBorn = 1 AND [DBorn] IS NULL) OR ([DBorn] = @Original_DBorn)) AND ((@IsNull_DWork = 1 AND [DWork] IS NULL) OR ([DWork] = @Original_DWork)) AND ((@IsNull_PerNum = 1 AND [PerNum] IS NULL) OR ([PerNum] = @Original_PerNum)) AND ((@IsNull_TabNum = 1 AND [TabNum] IS NULL) OR ([TabNum] = @Original_TabNum)));
SELECT StaffID, DepID, PostID, CityID, StaffName, addr, Gender, DBorn, DWork, PerNum, TabNum FROM dtStaff WHERE (StaffID = @StaffID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PostID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@StaffName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="StaffName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@addr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="addr" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DBorn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DBorn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DWork" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DWork" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PerNum" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PerNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TabNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TabNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StaffID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_DepID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PostID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StaffName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StaffName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_StaffName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="StaffName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_addr" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="addr" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_addr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="addr" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DBorn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DBorn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DBorn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DBorn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DWork" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DWork" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DWork" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DWork" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PerNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PerNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_PerNum" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="PerNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TabNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TabNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TabNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TabNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StaffID" ColumnName="StaffID" DataSourceName="TIMS.dbo.dtStaff" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StaffID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="StaffID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StaffID" DataSetColumn="StaffID" />
              <Mapping SourceColumn="DepID" DataSetColumn="DepID" />
              <Mapping SourceColumn="PostID" DataSetColumn="PostID" />
              <Mapping SourceColumn="CityID" DataSetColumn="CityID" />
              <Mapping SourceColumn="StaffName" DataSetColumn="StaffName" />
              <Mapping SourceColumn="addr" DataSetColumn="addr" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="DBorn" DataSetColumn="DBorn" />
              <Mapping SourceColumn="DWork" DataSetColumn="DWork" />
              <Mapping SourceColumn="PerNum" DataSetColumn="PerNum" />
              <Mapping SourceColumn="TabNum" DataSetColumn="TabNum" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.tsp_dtStaff" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="UpDateStaff" GetMethodModifier="Public" GetMethodName="UpDateStaff" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="UpDateStaff" UserSourceName="UpDateStaff">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.tsp_dtStaff</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Action" Precision="3" ProviderType="TinyInt" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@StaffID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PostID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@StaffName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@addr" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Gender" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DBorn" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DWork" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@PerNum" Precision="0" ProviderType="NChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TabNum" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VW_STAFFTableAdapter" GeneratorDataComponentClassName="VW_STAFFTableAdapter" Name="VW_STAFF" UserDataComponentName="VW_STAFFTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.VW_STAFF" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT StaffID, DepID, PostID, CityID, StaffName, addr, Gender, DBorn, DWork, PerNum, TabNum, postName, depName, CityName FROM dbo.VW_STAFF</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StaffID" DataSetColumn="StaffID" />
              <Mapping SourceColumn="DepID" DataSetColumn="DepID" />
              <Mapping SourceColumn="PostID" DataSetColumn="PostID" />
              <Mapping SourceColumn="CityID" DataSetColumn="CityID" />
              <Mapping SourceColumn="StaffName" DataSetColumn="StaffName" />
              <Mapping SourceColumn="addr" DataSetColumn="addr" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="DBorn" DataSetColumn="DBorn" />
              <Mapping SourceColumn="DWork" DataSetColumn="DWork" />
              <Mapping SourceColumn="PerNum" DataSetColumn="PerNum" />
              <Mapping SourceColumn="TabNum" DataSetColumn="TabNum" />
              <Mapping SourceColumn="postName" DataSetColumn="postName" />
              <Mapping SourceColumn="depName" DataSetColumn="depName" />
              <Mapping SourceColumn="CityName" DataSetColumn="CityName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="fn_GetCityTableAdapter" GeneratorDataComponentClassName="fn_GetCityTableAdapter" Name="fn_GetCity" UserDataComponentName="fn_GetCityTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="TIMS.dbo.fn_GetCity" DbObjectType="Function" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT codeid, hname, mgrid, hrclvl, hrccrt FROM dbo.fn_GetCity(@hrclvl)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="hrclvl" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@hrclvl" Precision="0" Scale="0" Size="0" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="codeid" DataSetColumn="codeid" />
              <Mapping SourceColumn="hname" DataSetColumn="hname" />
              <Mapping SourceColumn="mgrid" DataSetColumn="mgrid" />
              <Mapping SourceColumn="hrclvl" DataSetColumn="hrclvl" />
              <Mapping SourceColumn="hrccrt" DataSetColumn="hrccrt" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="fn_GetStaffTableAdapter" GeneratorDataComponentClassName="fn_GetStaffTableAdapter" Name="fn_GetStaff" UserDataComponentName="fn_GetStaffTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="DBTims02ConnectionString (Settings)" DbObjectName="DBTims02.dbo.fn_GetStaff" DbObjectType="Function" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT StaffID, DepID, PostID, CityID, StaffName, addr, Gender, DBorn, DWork, PerNum, TabNum, postName, depName, CityName FROM dbo.fn_GetStaff(NULL)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StaffID" DataSetColumn="StaffID" />
              <Mapping SourceColumn="DepID" DataSetColumn="DepID" />
              <Mapping SourceColumn="PostID" DataSetColumn="PostID" />
              <Mapping SourceColumn="CityID" DataSetColumn="CityID" />
              <Mapping SourceColumn="StaffName" DataSetColumn="StaffName" />
              <Mapping SourceColumn="addr" DataSetColumn="addr" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="DBorn" DataSetColumn="DBorn" />
              <Mapping SourceColumn="DWork" DataSetColumn="DWork" />
              <Mapping SourceColumn="PerNum" DataSetColumn="PerNum" />
              <Mapping SourceColumn="TabNum" DataSetColumn="TabNum" />
              <Mapping SourceColumn="postName" DataSetColumn="postName" />
              <Mapping SourceColumn="depName" DataSetColumn="depName" />
              <Mapping SourceColumn="CityName" DataSetColumn="CityName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ClientsTableAdapter" GeneratorDataComponentClassName="ClientsTableAdapter" Name="Clients" UserDataComponentName="ClientsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TIMSConnectionString1 (Settings)" DbObjectName="DBTims.dbo.Clients" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Clients] WHERE (([ClientsID] = @Original_ClientsID) AND ([CityID] = @Original_CityID) AND ([ClName] = @Original_ClName) AND ((@IsNull_address = 1 AND [address] IS NULL) OR ([address] = @Original_address)) AND ((@IsNull_PostalCode = 1 AND [PostalCode] IS NULL) OR ([PostalCode] = @Original_PostalCode)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_Fax = 1 AND [Fax] IS NULL) OR ([Fax] = @Original_Fax)) AND ((@IsNull_Mobile = 1 AND [Mobile] IS NULL) OR ([Mobile] = @Original_Mobile)) AND ((@IsNull_Person = 1 AND [Person] IS NULL) OR ([Person] = @Original_Person)) AND ((@IsNull_Meneger = 1 AND [Meneger] IS NULL) OR ([Meneger] = @Original_Meneger)) AND ((@IsNull_Lit = 1 AND [Lit] IS NULL) OR ([Lit] = @Original_Lit)) AND ((@IsNull_Dlit = 1 AND [Dlit] IS NULL) OR ([Dlit] = @Original_Dlit)) AND ([Sn] = @Original_Sn) AND ((@IsNull_Emaill = 1 AND [Emaill] IS NULL) OR ([Emaill] = @Original_Emaill)) AND ((@IsNull_LDefault = 1 AND [LDefault] IS NULL) OR ([LDefault] = @Original_LDefault)) AND ((@IsNull_Spend = 1 AND [Spend] IS NULL) OR ([Spend] = @Original_Spend)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ClientsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ClientsID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostalCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mobile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Person" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Meneger" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Lit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dlit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Emaill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LDefault" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Clients] ([CityID], [ClName], [address], [PostalCode], [Phone], [Fax], [Mobile], [Person], [Meneger], [Lit], [Dlit], [Sn], [Emaill], [LDefault], [Spend], [addInf]) VALUES (@CityID, @ClName, @address, @PostalCode, @Phone, @Fax, @Mobile, @Person, @Meneger, @Lit, @Dlit, @Sn, @Emaill, @LDefault, @Spend, @addInf);
SELECT ClientsID, CityID, ClName, address, PostalCode, Phone, Fax, Mobile, Person, Meneger, Lit, Dlit, Sn, Emaill, LDefault, Spend, addInf FROM Clients WHERE (ClientsID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@addInf" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="addInf" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ClientsID, CityID, ClName, address, PostalCode, Phone, Fax, Mobile, Person, Meneger, Lit, Dlit, Sn, Emaill, LDefault, Spend, addInf FROM dbo.Clients</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Clients] SET [CityID] = @CityID, [ClName] = @ClName, [address] = @address, [PostalCode] = @PostalCode, [Phone] = @Phone, [Fax] = @Fax, [Mobile] = @Mobile, [Person] = @Person, [Meneger] = @Meneger, [Lit] = @Lit, [Dlit] = @Dlit, [Sn] = @Sn, [Emaill] = @Emaill, [LDefault] = @LDefault, [Spend] = @Spend, [addInf] = @addInf WHERE (([ClientsID] = @Original_ClientsID) AND ([CityID] = @Original_CityID) AND ([ClName] = @Original_ClName) AND ((@IsNull_address = 1 AND [address] IS NULL) OR ([address] = @Original_address)) AND ((@IsNull_PostalCode = 1 AND [PostalCode] IS NULL) OR ([PostalCode] = @Original_PostalCode)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_Fax = 1 AND [Fax] IS NULL) OR ([Fax] = @Original_Fax)) AND ((@IsNull_Mobile = 1 AND [Mobile] IS NULL) OR ([Mobile] = @Original_Mobile)) AND ((@IsNull_Person = 1 AND [Person] IS NULL) OR ([Person] = @Original_Person)) AND ((@IsNull_Meneger = 1 AND [Meneger] IS NULL) OR ([Meneger] = @Original_Meneger)) AND ((@IsNull_Lit = 1 AND [Lit] IS NULL) OR ([Lit] = @Original_Lit)) AND ((@IsNull_Dlit = 1 AND [Dlit] IS NULL) OR ([Dlit] = @Original_Dlit)) AND ([Sn] = @Original_Sn) AND ((@IsNull_Emaill = 1 AND [Emaill] IS NULL) OR ([Emaill] = @Original_Emaill)) AND ((@IsNull_LDefault = 1 AND [LDefault] IS NULL) OR ([LDefault] = @Original_LDefault)) AND ((@IsNull_Spend = 1 AND [Spend] IS NULL) OR ([Spend] = @Original_Spend)));
SELECT ClientsID, CityID, ClName, address, PostalCode, Phone, Fax, Mobile, Person, Meneger, Lit, Dlit, Sn, Emaill, LDefault, Spend, addInf FROM Clients WHERE (ClientsID = @ClientsID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@addInf" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="addInf" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ClientsID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ClientsID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CityID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CityID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ClName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostalCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PostalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PostalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Fax" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Mobile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Person" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Person" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Person" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Meneger" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Meneger" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Meneger" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Lit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Lit" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Lit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dlit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Dlit" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Dlit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Sn" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Sn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Emaill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Emaill" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Emaill" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LDefault" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_LDefault" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="LDefault" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Spend" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Spend" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Spend" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ClientsID" ColumnName="ClientsID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ClientsID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ClientsID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ClientsID" DataSetColumn="ClientsID" />
              <Mapping SourceColumn="CityID" DataSetColumn="CityID" />
              <Mapping SourceColumn="ClName" DataSetColumn="ClName" />
              <Mapping SourceColumn="address" DataSetColumn="address" />
              <Mapping SourceColumn="PostalCode" DataSetColumn="PostalCode" />
              <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
              <Mapping SourceColumn="Fax" DataSetColumn="Fax" />
              <Mapping SourceColumn="Mobile" DataSetColumn="Mobile" />
              <Mapping SourceColumn="Person" DataSetColumn="Person" />
              <Mapping SourceColumn="Meneger" DataSetColumn="Meneger" />
              <Mapping SourceColumn="Lit" DataSetColumn="Lit" />
              <Mapping SourceColumn="Dlit" DataSetColumn="Dlit" />
              <Mapping SourceColumn="Sn" DataSetColumn="Sn" />
              <Mapping SourceColumn="Emaill" DataSetColumn="Emaill" />
              <Mapping SourceColumn="LDefault" DataSetColumn="LDefault" />
              <Mapping SourceColumn="Spend" DataSetColumn="Spend" />
              <Mapping SourceColumn="addInf" DataSetColumn="addInf" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="TIMSDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="TIMSDataSet" msprop:Generator_DataSetName="TIMSDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dtDep" msprop:Generator_UserTableName="dtDep" msprop:Generator_RowDeletedName="dtDepRowDeleted" msprop:Generator_RowChangedName="dtDepRowChanged" msprop:Generator_RowClassName="dtDepRow" msprop:Generator_RowChangingName="dtDepRowChanging" msprop:Generator_RowEvArgName="dtDepRowChangeEvent" msprop:Generator_RowEvHandlerName="dtDepRowChangeEventHandler" msprop:Generator_TableClassName="dtDepDataTable" msprop:Generator_TableVarName="tabledtDep" msprop:Generator_RowDeletingName="dtDepRowDeleting" msprop:Generator_TablePropName="dtDep">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dtCity" msprop:Generator_UserTableName="dtCity" msprop:Generator_RowDeletedName="dtCityRowDeleted" msprop:Generator_RowChangedName="dtCityRowChanged" msprop:Generator_RowClassName="dtCityRow" msprop:Generator_RowChangingName="dtCityRowChanging" msprop:Generator_RowEvArgName="dtCityRowChangeEvent" msprop:Generator_RowEvHandlerName="dtCityRowChangeEventHandler" msprop:Generator_TableClassName="dtCityDataTable" msprop:Generator_TableVarName="tabledtCity" msprop:Generator_RowDeletingName="dtCityRowDeleting" msprop:Generator_TablePropName="dtCity">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dtPost" msprop:Generator_UserTableName="dtPost" msprop:Generator_RowDeletedName="dtPostRowDeleted" msprop:Generator_RowChangedName="dtPostRowChanged" msprop:Generator_RowClassName="dtPostRow" msprop:Generator_RowChangingName="dtPostRowChanging" msprop:Generator_RowEvArgName="dtPostRowChangeEvent" msprop:Generator_RowEvHandlerName="dtPostRowChangeEventHandler" msprop:Generator_TableClassName="dtPostDataTable" msprop:Generator_TableVarName="tabledtPost" msprop:Generator_RowDeletingName="dtPostRowDeleting" msprop:Generator_TablePropName="dtPost">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CodeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CodeID" msprop:Generator_ColumnPropNameInRow="CodeID" msprop:Generator_ColumnVarNameInTable="columnCodeID" msprop:Generator_ColumnPropNameInTable="CodeIDColumn" type="xs:int" />
              <xs:element name="hName" msprop:Generator_UserColumnName="hName" msprop:Generator_ColumnPropNameInRow="hName" msprop:Generator_ColumnVarNameInTable="columnhName" msprop:Generator_ColumnPropNameInTable="hNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dtStaff" msprop:Generator_UserTableName="dtStaff" msprop:Generator_RowDeletedName="dtStaffRowDeleted" msprop:Generator_RowChangedName="dtStaffRowChanged" msprop:Generator_RowClassName="dtStaffRow" msprop:Generator_RowChangingName="dtStaffRowChanging" msprop:Generator_RowEvArgName="dtStaffRowChangeEvent" msprop:Generator_RowEvHandlerName="dtStaffRowChangeEventHandler" msprop:Generator_TableClassName="dtStaffDataTable" msprop:Generator_TableVarName="tabledtStaff" msprop:Generator_RowDeletingName="dtStaffRowDeleting" msprop:Generator_TablePropName="dtStaff">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StaffID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="StaffID" msprop:Generator_ColumnPropNameInRow="StaffID" msprop:Generator_ColumnVarNameInTable="columnStaffID" msprop:Generator_ColumnPropNameInTable="StaffIDColumn" type="xs:int" />
              <xs:element name="DepID" msprop:Generator_UserColumnName="DepID" msprop:Generator_ColumnPropNameInRow="DepID" msprop:Generator_ColumnVarNameInTable="columnDepID" msprop:Generator_ColumnPropNameInTable="DepIDColumn" type="xs:int" />
              <xs:element name="PostID" msprop:Generator_UserColumnName="PostID" msprop:Generator_ColumnPropNameInRow="PostID" msprop:Generator_ColumnVarNameInTable="columnPostID" msprop:Generator_ColumnPropNameInTable="PostIDColumn" type="xs:int" />
              <xs:element name="CityID" msprop:Generator_UserColumnName="CityID" msprop:Generator_ColumnPropNameInRow="CityID" msprop:Generator_ColumnVarNameInTable="columnCityID" msprop:Generator_ColumnPropNameInTable="CityIDColumn" type="xs:int" />
              <xs:element name="StaffName" msprop:Generator_UserColumnName="StaffName" msprop:Generator_ColumnPropNameInRow="StaffName" msprop:Generator_ColumnVarNameInTable="columnStaffName" msprop:Generator_ColumnPropNameInTable="StaffNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="addr" msprop:Generator_UserColumnName="addr" msprop:Generator_ColumnPropNameInRow="addr" msprop:Generator_ColumnVarNameInTable="columnaddr" msprop:Generator_ColumnPropNameInTable="addrColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInTable="GenderColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="DBorn" msprop:Generator_UserColumnName="DBorn" msprop:Generator_ColumnPropNameInRow="DBorn" msprop:Generator_ColumnVarNameInTable="columnDBorn" msprop:Generator_ColumnPropNameInTable="DBornColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DWork" msprop:Generator_UserColumnName="DWork" msprop:Generator_ColumnPropNameInRow="DWork" msprop:Generator_ColumnVarNameInTable="columnDWork" msprop:Generator_ColumnPropNameInTable="DWorkColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PerNum" msprop:Generator_UserColumnName="PerNum" msprop:Generator_ColumnPropNameInRow="PerNum" msprop:Generator_ColumnVarNameInTable="columnPerNum" msprop:Generator_ColumnPropNameInTable="PerNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TabNum" msprop:Generator_UserColumnName="TabNum" msprop:Generator_ColumnPropNameInRow="TabNum" msprop:Generator_ColumnVarNameInTable="columnTabNum" msprop:Generator_ColumnPropNameInTable="TabNumColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="VW_STAFF" msprop:Generator_UserTableName="VW_STAFF" msprop:Generator_RowDeletedName="VW_STAFFRowDeleted" msprop:Generator_RowChangedName="VW_STAFFRowChanged" msprop:Generator_RowClassName="VW_STAFFRow" msprop:Generator_RowChangingName="VW_STAFFRowChanging" msprop:Generator_RowEvArgName="VW_STAFFRowChangeEvent" msprop:Generator_RowEvHandlerName="VW_STAFFRowChangeEventHandler" msprop:Generator_TableClassName="VW_STAFFDataTable" msprop:Generator_TableVarName="tableVW_STAFF" msprop:Generator_RowDeletingName="VW_STAFFRowDeleting" msprop:Generator_TablePropName="VW_STAFF">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StaffID" msprop:Generator_UserColumnName="StaffID" msprop:Generator_ColumnPropNameInRow="StaffID" msprop:Generator_ColumnVarNameInTable="columnStaffID" msprop:Generator_ColumnPropNameInTable="StaffIDColumn" type="xs:int" />
              <xs:element name="DepID" msprop:Generator_UserColumnName="DepID" msprop:Generator_ColumnPropNameInRow="DepID" msprop:Generator_ColumnVarNameInTable="columnDepID" msprop:Generator_ColumnPropNameInTable="DepIDColumn" type="xs:int" />
              <xs:element name="PostID" msprop:Generator_UserColumnName="PostID" msprop:Generator_ColumnPropNameInRow="PostID" msprop:Generator_ColumnVarNameInTable="columnPostID" msprop:Generator_ColumnPropNameInTable="PostIDColumn" type="xs:int" />
              <xs:element name="CityID" msprop:Generator_UserColumnName="CityID" msprop:Generator_ColumnPropNameInRow="CityID" msprop:Generator_ColumnVarNameInTable="columnCityID" msprop:Generator_ColumnPropNameInTable="CityIDColumn" type="xs:int" />
              <xs:element name="StaffName" msprop:Generator_UserColumnName="StaffName" msprop:Generator_ColumnPropNameInRow="StaffName" msprop:Generator_ColumnVarNameInTable="columnStaffName" msprop:Generator_ColumnPropNameInTable="StaffNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="addr" msprop:Generator_UserColumnName="addr" msprop:Generator_ColumnPropNameInRow="addr" msprop:Generator_ColumnVarNameInTable="columnaddr" msprop:Generator_ColumnPropNameInTable="addrColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInTable="GenderColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="DBorn" msprop:Generator_UserColumnName="DBorn" msprop:Generator_ColumnPropNameInRow="DBorn" msprop:Generator_ColumnVarNameInTable="columnDBorn" msprop:Generator_ColumnPropNameInTable="DBornColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DWork" msprop:Generator_UserColumnName="DWork" msprop:Generator_ColumnPropNameInRow="DWork" msprop:Generator_ColumnVarNameInTable="columnDWork" msprop:Generator_ColumnPropNameInTable="DWorkColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PerNum" msprop:Generator_UserColumnName="PerNum" msprop:Generator_ColumnPropNameInRow="PerNum" msprop:Generator_ColumnVarNameInTable="columnPerNum" msprop:Generator_ColumnPropNameInTable="PerNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TabNum" msprop:Generator_UserColumnName="TabNum" msprop:Generator_ColumnPropNameInRow="TabNum" msprop:Generator_ColumnVarNameInTable="columnTabNum" msprop:Generator_ColumnPropNameInTable="TabNumColumn" type="xs:int" minOccurs="0" />
              <xs:element name="postName" msprop:Generator_UserColumnName="postName" msprop:Generator_ColumnPropNameInRow="postName" msprop:Generator_ColumnVarNameInTable="columnpostName" msprop:Generator_ColumnPropNameInTable="postNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="depName" msprop:Generator_UserColumnName="depName" msprop:Generator_ColumnPropNameInRow="depName" msprop:Generator_ColumnVarNameInTable="columndepName" msprop:Generator_ColumnPropNameInTable="depNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CityName" msprop:Generator_UserColumnName="CityName" msprop:Generator_ColumnPropNameInRow="CityName" msprop:Generator_ColumnVarNameInTable="columnCityName" msprop:Generator_ColumnPropNameInTable="CityNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="fn_GetCity" msprop:Generator_UserTableName="fn_GetCity" msprop:Generator_RowDeletedName="fn_GetCityRowDeleted" msprop:Generator_RowChangedName="fn_GetCityRowChanged" msprop:Generator_RowClassName="fn_GetCityRow" msprop:Generator_RowChangingName="fn_GetCityRowChanging" msprop:Generator_RowEvArgName="fn_GetCityRowChangeEvent" msprop:Generator_RowEvHandlerName="fn_GetCityRowChangeEventHandler" msprop:Generator_TableClassName="fn_GetCityDataTable" msprop:Generator_TableVarName="tablefn_GetCity" msprop:Generator_RowDeletingName="fn_GetCityRowDeleting" msprop:Generator_TablePropName="fn_GetCity">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="codeid" msprop:Generator_UserColumnName="codeid" msprop:Generator_ColumnVarNameInTable="columncodeid" msprop:Generator_ColumnPropNameInRow="codeid" msprop:Generator_ColumnPropNameInTable="codeidColumn" type="xs:int" />
              <xs:element name="hname" msprop:Generator_UserColumnName="hname" msprop:Generator_ColumnVarNameInTable="columnhname" msprop:Generator_ColumnPropNameInRow="hname" msprop:Generator_ColumnPropNameInTable="hnameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="mgrid" msprop:Generator_UserColumnName="mgrid" msprop:Generator_ColumnVarNameInTable="columnmgrid" msprop:Generator_ColumnPropNameInRow="mgrid" msprop:Generator_ColumnPropNameInTable="mgridColumn" type="xs:int" minOccurs="0" />
              <xs:element name="hrclvl" msprop:Generator_UserColumnName="hrclvl" msprop:Generator_ColumnVarNameInTable="columnhrclvl" msprop:Generator_ColumnPropNameInRow="hrclvl" msprop:Generator_ColumnPropNameInTable="hrclvlColumn" type="xs:short" minOccurs="0" />
              <xs:element name="hrccrt" msprop:Generator_UserColumnName="hrccrt" msprop:Generator_ColumnVarNameInTable="columnhrccrt" msprop:Generator_ColumnPropNameInRow="hrccrt" msprop:Generator_ColumnPropNameInTable="hrccrtColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="120" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="fn_GetStaff" msprop:Generator_UserTableName="fn_GetStaff" msprop:Generator_RowDeletedName="fn_GetStaffRowDeleted" msprop:Generator_RowChangedName="fn_GetStaffRowChanged" msprop:Generator_RowClassName="fn_GetStaffRow" msprop:Generator_RowChangingName="fn_GetStaffRowChanging" msprop:Generator_RowEvArgName="fn_GetStaffRowChangeEvent" msprop:Generator_RowEvHandlerName="fn_GetStaffRowChangeEventHandler" msprop:Generator_TableClassName="fn_GetStaffDataTable" msprop:Generator_TableVarName="tablefn_GetStaff" msprop:Generator_RowDeletingName="fn_GetStaffRowDeleting" msprop:Generator_TablePropName="fn_GetStaff">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StaffID" msprop:Generator_UserColumnName="StaffID" msprop:Generator_ColumnPropNameInRow="StaffID" msprop:Generator_ColumnVarNameInTable="columnStaffID" msprop:Generator_ColumnPropNameInTable="StaffIDColumn" type="xs:int" />
              <xs:element name="DepID" msprop:Generator_UserColumnName="DepID" msprop:Generator_ColumnPropNameInRow="DepID" msprop:Generator_ColumnVarNameInTable="columnDepID" msprop:Generator_ColumnPropNameInTable="DepIDColumn" type="xs:int" />
              <xs:element name="PostID" msprop:Generator_UserColumnName="PostID" msprop:Generator_ColumnPropNameInRow="PostID" msprop:Generator_ColumnVarNameInTable="columnPostID" msprop:Generator_ColumnPropNameInTable="PostIDColumn" type="xs:int" />
              <xs:element name="CityID" msprop:Generator_UserColumnName="CityID" msprop:Generator_ColumnPropNameInRow="CityID" msprop:Generator_ColumnVarNameInTable="columnCityID" msprop:Generator_ColumnPropNameInTable="CityIDColumn" type="xs:int" />
              <xs:element name="StaffName" msprop:Generator_UserColumnName="StaffName" msprop:Generator_ColumnPropNameInRow="StaffName" msprop:Generator_ColumnVarNameInTable="columnStaffName" msprop:Generator_ColumnPropNameInTable="StaffNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="addr" msprop:Generator_UserColumnName="addr" msprop:Generator_ColumnPropNameInRow="addr" msprop:Generator_ColumnVarNameInTable="columnaddr" msprop:Generator_ColumnPropNameInTable="addrColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInTable="GenderColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="DBorn" msprop:Generator_UserColumnName="DBorn" msprop:Generator_ColumnPropNameInRow="DBorn" msprop:Generator_ColumnVarNameInTable="columnDBorn" msprop:Generator_ColumnPropNameInTable="DBornColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DWork" msprop:Generator_UserColumnName="DWork" msprop:Generator_ColumnPropNameInRow="DWork" msprop:Generator_ColumnVarNameInTable="columnDWork" msprop:Generator_ColumnPropNameInTable="DWorkColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PerNum" msprop:Generator_UserColumnName="PerNum" msprop:Generator_ColumnPropNameInRow="PerNum" msprop:Generator_ColumnVarNameInTable="columnPerNum" msprop:Generator_ColumnPropNameInTable="PerNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TabNum" msprop:Generator_UserColumnName="TabNum" msprop:Generator_ColumnPropNameInRow="TabNum" msprop:Generator_ColumnVarNameInTable="columnTabNum" msprop:Generator_ColumnPropNameInTable="TabNumColumn" type="xs:int" minOccurs="0" />
              <xs:element name="postName" msprop:Generator_UserColumnName="postName" msprop:Generator_ColumnPropNameInRow="postName" msprop:Generator_ColumnVarNameInTable="columnpostName" msprop:Generator_ColumnPropNameInTable="postNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="depName" msprop:Generator_UserColumnName="depName" msprop:Generator_ColumnPropNameInRow="depName" msprop:Generator_ColumnVarNameInTable="columndepName" msprop:Generator_ColumnPropNameInTable="depNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CityName" msprop:Generator_UserColumnName="CityName" msprop:Generator_ColumnPropNameInRow="CityName" msprop:Generator_ColumnVarNameInTable="columnCityName" msprop:Generator_ColumnPropNameInTable="CityNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Clients" msprop:Generator_UserTableName="Clients" msprop:Generator_RowDeletedName="ClientsRowDeleted" msprop:Generator_TableClassName="ClientsDataTable" msprop:Generator_RowChangedName="ClientsRowChanged" msprop:Generator_RowClassName="ClientsRow" msprop:Generator_RowChangingName="ClientsRowChanging" msprop:Generator_RowEvArgName="ClientsRowChangeEvent" msprop:Generator_RowEvHandlerName="ClientsRowChangeEventHandler" msprop:Generator_TablePropName="Clients" msprop:Generator_TableVarName="tableClients" msprop:Generator_RowDeletingName="ClientsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ClientsID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ClientsID" msprop:Generator_ColumnPropNameInRow="ClientsID" msprop:Generator_ColumnVarNameInTable="columnClientsID" msprop:Generator_ColumnPropNameInTable="ClientsIDColumn" type="xs:int" />
              <xs:element name="CityID" msprop:Generator_UserColumnName="CityID" msprop:Generator_ColumnPropNameInRow="CityID" msprop:Generator_ColumnVarNameInTable="columnCityID" msprop:Generator_ColumnPropNameInTable="CityIDColumn" type="xs:int" />
              <xs:element name="ClName" msprop:Generator_UserColumnName="ClName" msprop:Generator_ColumnPropNameInRow="ClName" msprop:Generator_ColumnVarNameInTable="columnClName" msprop:Generator_ColumnPropNameInTable="ClNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="address" msprop:Generator_UserColumnName="address" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInTable="addressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PostalCode" msprop:Generator_UserColumnName="PostalCode" msprop:Generator_ColumnPropNameInRow="PostalCode" msprop:Generator_ColumnVarNameInTable="columnPostalCode" msprop:Generator_ColumnPropNameInTable="PostalCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone" msprop:Generator_UserColumnName="Phone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Fax" msprop:Generator_UserColumnName="Fax" msprop:Generator_ColumnPropNameInRow="Fax" msprop:Generator_ColumnVarNameInTable="columnFax" msprop:Generator_ColumnPropNameInTable="FaxColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mobile" msprop:Generator_UserColumnName="Mobile" msprop:Generator_ColumnPropNameInRow="Mobile" msprop:Generator_ColumnVarNameInTable="columnMobile" msprop:Generator_ColumnPropNameInTable="MobileColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Person" msprop:Generator_UserColumnName="Person" msprop:Generator_ColumnPropNameInRow="Person" msprop:Generator_ColumnVarNameInTable="columnPerson" msprop:Generator_ColumnPropNameInTable="PersonColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Meneger" msprop:Generator_UserColumnName="Meneger" msprop:Generator_ColumnPropNameInRow="Meneger" msprop:Generator_ColumnVarNameInTable="columnMeneger" msprop:Generator_ColumnPropNameInTable="MenegerColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Lit" msprop:Generator_UserColumnName="Lit" msprop:Generator_ColumnPropNameInRow="Lit" msprop:Generator_ColumnVarNameInTable="columnLit" msprop:Generator_ColumnPropNameInTable="LitColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Dlit" msprop:Generator_UserColumnName="Dlit" msprop:Generator_ColumnPropNameInRow="Dlit" msprop:Generator_ColumnVarNameInTable="columnDlit" msprop:Generator_ColumnPropNameInTable="DlitColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Sn" msprop:Generator_UserColumnName="Sn" msprop:Generator_ColumnPropNameInRow="Sn" msprop:Generator_ColumnVarNameInTable="columnSn" msprop:Generator_ColumnPropNameInTable="SnColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Emaill" msprop:Generator_UserColumnName="Emaill" msprop:Generator_ColumnPropNameInRow="Emaill" msprop:Generator_ColumnVarNameInTable="columnEmaill" msprop:Generator_ColumnPropNameInTable="EmaillColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LDefault" msprop:Generator_UserColumnName="LDefault" msprop:Generator_ColumnPropNameInRow="LDefault" msprop:Generator_ColumnVarNameInTable="columnLDefault" msprop:Generator_ColumnPropNameInTable="LDefaultColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="Spend" msprop:Generator_UserColumnName="Spend" msprop:Generator_ColumnPropNameInRow="Spend" msprop:Generator_ColumnVarNameInTable="columnSpend" msprop:Generator_ColumnPropNameInTable="SpendColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="addInf" msprop:Generator_UserColumnName="addInf" msprop:Generator_ColumnPropNameInRow="addInf" msprop:Generator_ColumnVarNameInTable="columnaddInf" msprop:Generator_ColumnPropNameInTable="addInfColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtDep" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
    <xs:unique name="dtCity_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtCity" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
    <xs:unique name="dtPost_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtPost" />
      <xs:field xpath="mstns:CodeID" />
    </xs:unique>
    <xs:unique name="dtStaff_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:dtStaff" />
      <xs:field xpath="mstns:StaffID" />
    </xs:unique>
    <xs:unique name="VW_STAFF_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:VW_STAFF" />
      <xs:field xpath="mstns:StaffID" />
    </xs:unique>
    <xs:unique name="fn_GetCity_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:fn_GetCity" />
      <xs:field xpath="mstns:codeid" />
    </xs:unique>
    <xs:unique name="fn_GetStaff_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:fn_GetStaff" />
      <xs:field xpath="mstns:StaffID" />
    </xs:unique>
    <xs:unique name="Clients_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Clients" />
      <xs:field xpath="mstns:ClientsID" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_dtDep_dtDep" msdata:parent="dtDep" msdata:child="dtDep" msdata:parentkey="CodeID" msdata:childkey="mgrid" msprop:Generator_UserRelationName="FK_dtDep_dtDep" msprop:Generator_RelationVarName="relationFK_dtDep_dtDep" msprop:Generator_UserChildTable="dtDep" msprop:Generator_UserParentTable="dtDep" msprop:Generator_ParentPropName="dtDepRowParent" msprop:Generator_ChildPropName="GetdtDepRows" />
      <msdata:Relationship name="FK_dtCity_dtCity" msdata:parent="dtCity" msdata:child="dtCity" msdata:parentkey="CodeID" msdata:childkey="mgrid" msprop:Generator_UserRelationName="FK_dtCity_dtCity" msprop:Generator_RelationVarName="relationFK_dtCity_dtCity" msprop:Generator_UserChildTable="dtCity" msprop:Generator_UserParentTable="dtCity" msprop:Generator_ParentPropName="dtCityRowParent" msprop:Generator_ChildPropName="GetdtCityRows" />
      <msdata:Relationship name="FK_dtPost_dtPost" msdata:parent="dtPost" msdata:child="dtPost" msdata:parentkey="CodeID" msdata:childkey="mgrid" msprop:Generator_UserRelationName="FK_dtPost_dtPost" msprop:Generator_RelationVarName="relationFK_dtPost_dtPost" msprop:Generator_UserChildTable="dtPost" msprop:Generator_UserParentTable="dtPost" msprop:Generator_ParentPropName="dtPostRowParent" msprop:Generator_ChildPropName="GetdtPostRows" />
      <msdata:Relationship name="FK_dtStaff_dtCity" msdata:parent="dtCity" msdata:child="dtStaff" msdata:parentkey="CodeID" msdata:childkey="CityID" msprop:Generator_UserRelationName="FK_dtStaff_dtCity" msprop:Generator_RelationVarName="relationFK_dtStaff_dtCity" msprop:Generator_UserChildTable="dtStaff" msprop:Generator_UserParentTable="dtCity" msprop:Generator_ParentPropName="dtCityRow" msprop:Generator_ChildPropName="GetdtStaffRows" />
      <msdata:Relationship name="FK_dtStaff_dtDep1" msdata:parent="dtDep" msdata:child="dtStaff" msdata:parentkey="CodeID" msdata:childkey="DepID" msprop:Generator_UserRelationName="FK_dtStaff_dtDep1" msprop:Generator_RelationVarName="relationFK_dtStaff_dtDep1" msprop:Generator_UserChildTable="dtStaff" msprop:Generator_UserParentTable="dtDep" msprop:Generator_ParentPropName="dtDepRow" msprop:Generator_ChildPropName="GetdtStaffRows" />
      <msdata:Relationship name="FK_dtStaff_dtPost1" msdata:parent="dtPost" msdata:child="dtStaff" msdata:parentkey="CodeID" msdata:childkey="PostID" msprop:Generator_UserRelationName="FK_dtStaff_dtPost1" msprop:Generator_RelationVarName="relationFK_dtStaff_dtPost1" msprop:Generator_UserChildTable="dtStaff" msprop:Generator_UserParentTable="dtPost" msprop:Generator_ParentPropName="dtPostRow" msprop:Generator_ChildPropName="GetdtStaffRows" />
      <msdata:Relationship name="FK_Clients_dtCity" msdata:parent="dtCity" msdata:child="Clients" msdata:parentkey="CodeID" msdata:childkey="CityID" msprop:Generator_UserRelationName="FK_Clients_dtCity" msprop:Generator_RelationVarName="relationFK_Clients_dtCity" msprop:Generator_UserChildTable="Clients" msprop:Generator_UserParentTable="dtCity" msprop:Generator_ParentPropName="dtCityRow" msprop:Generator_ChildPropName="GetClientsRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>